-- GENERATED SPELL FOR [Lava Surger] --


function spell0_12101(pUnit, Event) --@Surge,n/a--
pUnit:FullCastSpellOnTarget(19196,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_12101', 584, 1)
end

function Sorts_12101(pUnit, Event)
local choix_sorts_12101 = math.random(0, 0)
if choix_sorts_12101 == 0 then
pUnit:RegisterEvent('spell0_12101', 1, 1)
end
end

function mob12101_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_12101', math.random(1500, 3000), 1)
end

function mob12101_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob12101_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob12101_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(12101, 1, 'mob12101_Action')
RegisterUnitEvent(12101, 2, 'mob12101_Leave')
RegisterUnitEvent(12101, 3, 'mob12101_Kill')
RegisterUnitEvent(12101, 4, 'mob12101_Die')
